package com.freemalll.merchant.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author songshixiong
 * @ClassName MerInstallmentInfoCompetitiveDto
 * @description:
 * @date 2025年05月26日
 * @version: 1.0
 */
@Data
public class MerInstallmentInfoCompetitiveDto {

    @Schema(description = "主键")
    private String competitiveId;

    @Schema(description = "分期主键")
    private String installmentId;

    @Schema(description = "竞品机构")
    @NotBlank(message = "竞品机构不能为空")
    private String competitiveOrganizations;

    @Schema(description = "竞品机构名称")
    private String competitiveOrganizationsName;


    @Schema(description = "竞品年化费率")
    @NotNull(message = "竞品年化费率不能为空")
    private BigDecimal competitiveRate;
}
